<!-- Left Dark Bar Start -->
<div id="leftside">
	<div class="user">
		<img src="<?php echo base_url(); ?>application/views/admin/images/avatar.png" width="44" height="44" class="hoverimg" alt="Avatar" />
		<p><?php echo $this->lang->line('admin_logged_in'); ?></p>
		<p class="username"><?php echo $users->username; ?></p>
		<p class="userbtn"><a href="#" title=""><?php echo $this->lang->line('admin_logged_profile'); ?></a></p>
		<p class="userbtn"><a href="<?php echo base_url().'admin/login/logout'; ?>" title=""><?php echo $this->lang->line('admin_logged_out'); ?></a></p>
	</div>
	<div class="notifications">
		<p class="notifycount"><a href="" title="" class="notifypop">10</a></p>
		<p><a href="" title="" class="notifypop"><?php echo $this->lang->line('admin_notification'); ?></a></p>
		<p class="smltxt"><?php echo $this->lang->line('admin_notification_tip'); ?></p>
	</div>
	
	<ul id="nav">
		<li>
			<a class="collapsed heading"><?php echo $this->lang->line('admin_dashboard'); ?></a>
			<ul class="navigation">
				<li><a class="<?php echo $current_location == 'admin_home' ? 'selected' : ''; ?>" href="<?php echo base_url(); ?>admin/admin"><?php echo $this->lang->line('admin_home'); ?></a></li>
			</ul>
		</li>
		<li>
			<a class="collapsed heading"><?php echo $this->lang->line('admin_posts'); ?></a>
			 <ul class="navigation">
				<li><a class="<?php echo $current_location == 'admin_posts' ? 'selected' : ''; ?>" href="<?php echo base_url(); ?>admin/posts"><?php echo $this->lang->line('admin_all_posts'); ?></a></li>
			</ul>
		</li> 
	</ul>
</div>
<!-- Left Dark Bar End --> 